package com.neu.cloudFactory.DAO;
import io.lettuce.core.dynamic.annotation.Param;
import org.springframework.data.jpa.repository.JpaRepository;
import com.neu.cloudFactory.PO.User;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

public interface UserDAO extends JpaRepository<User,Integer>{

    User findByAccountAndPassword(String account, String password);

    User findByAccount(String account);

    User findByName(String name);



}
